<template>
  <div>
    <h1>Children {{ count }}</h1>
    <button @click="add">增加</button>
  </div>
</template>

<script>
export default {
  name: 'Children',
  data() {
    return {
      count: 1,
    }
  },

  methods: {
    add() {
      this.count++
    },
  },
  mounted() {
    console.log('初始化--mixins')
  },
}
</script>

<style></style>
